<?php

/**
 * 栏目推荐数据
 */
Route::get('recommend/muticolumn_reclist0_datas', ['as'=> 'recommend.muticolumn_reclist0_datas.index', 'uses' => 'Recommend\MuticolumnReclist0DataController@index']);
Route::post('recommend/muticolumn_reclist0_datas', ['as'=> 'recommend.muticolumn_reclist0_datas.store', 'uses' => 'Recommend\MuticolumnReclist0DataController@store']);
Route::get('recommend/muticolumn_reclist0_datas/create', ['as'=> 'recommend.muticolumn_reclist0_datas.create', 'uses' => 'Recommend\MuticolumnReclist0DataController@create']);
Route::put('recommend/muticolumn_reclist0_datas/{muticolumn_reclist0_datas}', ['as'=> 'recommend.muticolumn_reclist0_datas.update', 'uses' => 'Recommend\MuticolumnReclist0DataController@update']);
Route::patch('recommend/muticolumn_reclist0_datas/{muticolumn_reclist0_datas}', ['as'=> 'recommend.muticolumn_reclist0_datas.update', 'uses' => 'Recommend\MuticolumnReclist0DataController@update']);
Route::delete('recommend/muticolumn_reclist0_datas/{muticolumn_reclist0_datas}', ['as'=> 'recommend.muticolumn_reclist0_datas.destroy', 'uses' => 'Recommend\MuticolumnReclist0DataController@destroy']);
Route::get('recommend/muticolumn_reclist0_datas/{muticolumn_reclist0_datas}', ['as'=> 'recommend.muticolumn_reclist0_datas.show', 'uses' => 'Recommend\MuticolumnReclist0DataController@show']);
Route::get('recommend/muticolumn_reclist0_datas/{muticolumn_reclist0_datas}/edit', ['as'=> 'recommend.muticolumn_reclist0_datas.edit', 'uses' => 'Recommend\MuticolumnReclist0DataController@edit']);

// 根据数据类型获取数据
Route::get('application/muticolumn_reclist0_datas/datas/resources', ['as'=> 'recommend.muticolumn_reclist0_datas.datas.resources', 'uses' => 'Recommend\MuticolumnReclist0DataController@getReasoureByDataType']);
// ajax回填数据
Route::get('application/muticolumn_reclist0_datas/datas/{datas}/resources', ['as'=> 'recommend.muticolumn_reclist0_datas.resources', 'uses' => 'Recommend\MuticolumnReclist0DataController@getReasourceData']);